<?php
include 'view/all.php';
/*
 * This is left menu
 */
$location = 'http://'.$_SERVER['HTTP_HOST'].'/salusbaby/user/view/';
?>

<div class="float_left profile_left margin_10">
                <div class="emrg_btn" style="margin-bottom: 10px"></div>

                <a href="<?php echo $location."child"; ?>"><div id="anagraphic" class="main_menu <?php if($tu==true){ echo 'visited_left';} ?>">USER</div></a>
<!--                            <div id="inner_anagraphic">
                                <div class="sub_menu"> <a href="http://www.ndroid360.com/salus/index.php/salus_bank/user_profile">User profile</a></div>
                                <div class="sub_menu"> <a href="http://www.ndroid360.com/salus/index.php/salus_bank/editing/edit_profile">Edit Tab</a></div>
                                <div class="sub_menu"> <a href="http://www.ndroid360.com/salus/index.php/salus_bank/editing/edit_son_profile">Son Profile</a></div>
                                <div class="sub_menu"> <a href="http://www.ndroid360.com/salus/index.php/salus_bank/editing/edit_second_son_profile">Second Son Profile</a></div>
                                <div class="sub_menu"> <a href="">Spouse document</a></div>
                            </div>-->


                <a href="<?php echo $location."pre-pregnancy"; ?>"><div id="" class="main_menu <?php if($tpre==true){ echo 'visited_left';} ?>">PRE-PREGNANCY</div></a>
                <a href="<?php echo $location."pregnancy"; ?>"><div id="" class="main_menu <?php if($prg==true){ echo 'visited_left';} ?>">PREGNANCY</div></a>
                <a href="<?php echo $location."Birth"; ?>"><div id="" class="main_menu <?php if($tb==true){ echo 'visited_left';} ?>">BIRTH</div></a>
                <a href="<?php echo $location."Woman-Mother"; ?>"><div id="" class="main_menu <?php if($wmn==true){ echo 'visited_left';} ?>">WOMAN & MOTHER</div></a>
                <a href="<?php echo $location."Child"; ?>"><div id="" class="main_menu <?php if($ch==true){ echo 'visited_left';} ?>">CHILD</div></a>
                 
                <?php if ($ch==true){ ?>
                <div id="inner_anagraphic">
                    <div class="sub_menu <?php if($p012==true){ echo 'visited_left_sub1';} ?>"> <a href="?p=012">0-12 MONTHS</a></div>
                    <div class="sub_menu <?php if($p15==true){ echo 'visited_left_sub1';} ?>"> <a href="?p=15">1-5 YEARS</a></div>
                    <div class="sub_menu <?php if($p612==true){ echo 'visited_left_sub1';} ?>"> <a href="?p=612">6-12 YEARS</a></div>                    
                </div>
                <?php } ?>
                <a href="<?php echo $location."Allergies"; ?>"><div id="" class="main_menu <?php if($talg==true){ echo 'visited_left';} ?> ">ALLERGIES</div></a>   
                <a href="<?php echo $location."Vaccinations"; ?>"><div id="vaccinations" class="main_menu <?php if($tvac==true){ echo 'visited_left';} ?> ">VACCINATIONS</div></a>  
                <a href="<?php echo $location."Diseases"; ?>"> <div class="main_menu <?php if($tdsg==true){ echo 'visited_left';} ?> " id="diseases_registry ">DISEASES</div></a>        
                <a href="<?php echo $location."Surgeries"; ?>"><div class="main_menu  <?php if($tser==true){ echo 'visited_left';} ?> " id="register_interventions">SURGERIES</div></a>        
                <a href="<?php echo $location."Therapies"; ?>">  <div class="main_menu <?php if($ther==true){ echo 'visited_left';} ?> " id="therapies"> THERAPIES</div></a>
                <a href="<?php echo $location."inbox" ?>"> <div class="main_menu <?php if($in==true){ echo 'visited_left';} ?>">REPORTS INBOX</div></a>                
                <a href="<?php echo "http://".$_SERVER['HTTP_HOST']."/salusbaby/user/folder/FolderList"; ?>"><div class="main_menu <?php if($foldmenu==true){    echo 'visited_left'; } ?> ">FOLDER LIST</div></a>
                <a href="<?php echo "http://".$_SERVER['HTTP_HOST']."/salusbaby/user/view/Records"; ?>"><div class="main_menu <?php if($red==true){    echo 'visited_left'; } ?> ">DOCUMENTS</div></a>
                <a href="<?php echo $location.'Cards'; ?>"><div class="main_menu <?php if($cards ==true){ echo 'visited_left';} ?>">CARDS</div></a>
                <a href="<?php echo "http://".$_SERVER['HTTP_HOST']."/salusbaby/user/"; ?>logout.php"><div class="main_menu">LOGOUT</div></a>
                <a href="#"><div  onclick="location.href='<?php echo $location.'CreateFolder'; ?>'" class="cartell"></div></a>
                <a href="<?php echo $location."Personal_Agenda"; ?>"><div class="agenda_special"></div></a>
                <div class="clear"></div>
            </div>